![]() |
AutoEmbedControl |
||||
Header: | Controls.h | Carbon status: | Supported | |
Automatically embeds a control in the smallest appropriate embedder control.
OSErr AutoEmbedControl ( ControlRef inControl, WindowRef inWindow );
A handle to the control to be embedded.
A pointer to the window in which to embed the control.
A result code.
The Dialog Manager uses AutoEmbedControl to position dialog items in an embedding hierarchy based on both visual containment and the item list resource order. For more information on embedding hierarchies in dialog and alert boxes, see the function EmbedControl.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)